package com.ml.mall.mapper.company;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ml.mall.entity.company.SysCompanyInterestIndustry;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SysCompanyInterestIndustryMapper extends BaseMapper<SysCompanyInterestIndustry> {
    /**
     * @description    :通过公司自定义id查询公司感兴趣业务
     * @author         :zxm
     * @date           :2021/5/14
    **/
    List<SysCompanyInterestIndustry> selectByCompanyId(@Param("companyId") Long companyId);

    Integer insertBatch(@Param("companyId") Long companyId, @Param("industryIds") List<Long> industryIds);
}